<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统提示 - <{$common.site_name}></title>
<link rel="stylesheet" type="text/css" href="<{$common.theme}>/style/general.css" />
<link rel="stylesheet" type="text/css" href="<{$common.theme}>/style/prompt.css" />
<script type="text/javascript" src="<{$common.theme}>/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
var countdown = <{$rs.time}>;
$(function(){
  $('#countdown').text(countdown);
  window.setInterval(redirect, 1000); 
});
function redirect(){
  if(countdown <= 0) {window.clearInterval();return;}
  countdown --;
  $('#countdown').text(countdown);
  if(countdown == 0){
    <{if $rs.redirect != 'close'}>
    window.location.href = '<{$rs.redirect nofilter}>';
    <{else}>
    window.opener = null; window.close();
    <{/if}>
  }
}
</script>
</head>
<body>
<div class="w800">
  <div class="aln-c"><a href="<{$common.url}>"><img alt="verydows" src="<{$common.theme}>/images/logo.gif" /></a></div>
  <div class="prompt mt10">
    <h1 class="c666">系统提示</h1>
    <h3 class="mt20 <{$rs.type}>"><{if is_array($rs.text)}><{foreach $rs.text as $v}><{$v}><br /><{/foreach}><{else}><{$rs.text}><{/if}></h3>
    <{if $rs.redirect != 'close'}>
    <p class="c999 mt20">您将在<font id="countdown" class="countdown">3</font>秒后自动跳转到系统指定页面</p>
    <p class="mt20"><a href="<{$rs.redirect nofilter}>">如果浏览器没有自动跳转，请点击这里</a></p>
    <{else}>
    <p class="c999 mt20">此页面将在<font id="countdown" class="countdown">3</font>秒后自动关闭</p>
    <p class="mt20"><a href="#" onclick="window.opener = null; window.close();">点击直接关闭</a></p>
    <{/if}>
  </div>
</div>
</body>
</html>